<template>
  <div>
    <h1>人气推荐详情</h1>
  </div>
</template>
<script>
import { useRoute } from "vue-router";
import { getRecDetail } from "../../utils/home.js";
export default {
  setup(props) {
    const route = useRoute();
    const id = route.params.id;
    console.log(id);
    getRecDetail({ id }).then((res) => {
      console.log(res);
    });
  },
};
</script>
